package cn.zyq.demo.beans.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;


/**
 * 用户与岗位关联表
 * 2023-05-12 20:14:08
 */
@Entity
@Table(name ="`sysAdminPost`")
@Data
public class SysAdminPost implements Serializable {

	private static final long serialVersionUID = 3065262498545357280L;

	/**
	 * 用户ID
	 */
	@Column(name = "`sysAdminID`")
	@ApiModelProperty("用户ID")
	private Integer sysAdminID;

	/**
	 * 岗位ID
	 */
	@Column(name = "`sysPostID`")
	@ApiModelProperty("岗位ID")
	private Integer sysPostID;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
	@Column(name = "`sysAdminPostID`")
	@ApiModelProperty("null")
	private Integer sysAdminPostID;

}
